package indi.zhifa.study2025.oa.dao.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.engine.core.common.entity.mpe.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 部门职位权限表。设置该部门特定职位的初始角色。
 * </p>
 *
 * @author 芝麻酱
 * @since 2025-04-08
 */
@Data
@TableName("dep_position")
@Schema(title = "GenDepPositionEntity对象", description = "部门职位权限表。设置该部门特定职位的初始角色。")
public class GenDepPositionEntity extends BaseEntity {

    @Schema(title = "部门Id")
    private Long depId;

    @Schema(title = "部门code")
    private String depCode;

    @Schema(title = "职位Id")
    private Long positionId;

    @Schema(title = "职位code")
    private String positionCode;

    @Schema(title = "当前部门默认角色，存code的list")
    private String curDepRoles;

    @Schema(title = "子部门默认角色，存code的list")
    private String childDepRoles;


}
